package ssm.core.domain.support;

import java.io.Serializable;

/**
 * Row(offset, limit)
 * 
 * @author jinqinghua@gmail.com
 * @version 2012/08/04
 */
public class Row implements Serializable {

	private static final long serialVersionUID = 4503548102626896410L;

	private Integer offset;

	private Integer limit;

	public Row() {
	}

	public Row(Integer limit) {
		this(0, limit);
	}

	public Row(Integer offset, Integer limit) {
		this.offset = offset;
		this.limit = limit;
	}

	public Integer getOffset() {
		return offset;
	}

	public void setOffset(Integer offset) {
		this.offset = offset;
	}

	public Integer getLimit() {
		return limit;
	}

	public void setLimit(Integer limit) {
		this.limit = limit;
	}

}
